import {
  AppVersionSchemaType,
  GetLatestVersionResponse,
  PostPublishAppProps,
  VersionListResponse,
} from '@/types/app/api';
import apiClient from '../apiClient';
import { InitDateResponse } from '@/pages/chat/tools/constants';

export enum CommonApi {
  getSystemInitData = '/openapi/v2/models/getInitData',
}

/**
 * 获取系统初始化信息
 * @param appId 应用id
 * @returns
 */
const getSystemInitData = () =>
  apiClient.get<InitDateResponse>({ url: CommonApi.getSystemInitData });

export default {
  getSystemInitData,
};
